package com.example.courseservice.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Entity
@Table(name = "course")
public class Course {
    @Id
    @Column(name = "course_id", nullable = false, length = 100)
    private String courseId;

    @Column(name = "course_name", nullable = false, length = 100)
    private String courseName;

    @Column(name = "course", length = 1000)
    private String course;

    @Column(name = "teaching_goal", length = 200)
    private String teachingGoal;

    @Column(name = "examination_method", nullable = false, length = 100)
    private String examinationMethod;
    
    // Getters and Setters
    public String getCourseId() {
        return courseId;
    }
    
    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }
    
    public String getCourseName() {
        return courseName;
    }
    
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    
    public String getCourse() {
        return course;
    }
    
    public void setCourse(String course) {
        this.course = course;
    }
    
    public String getTeachingGoal() {
        return teachingGoal;
    }
    
    public void setTeachingGoal(String teachingGoal) {
        this.teachingGoal = teachingGoal;
    }
    
    public String getExaminationMethod() {
        return examinationMethod;
    }
    
    public void setExaminationMethod(String examinationMethod) {
        this.examinationMethod = examinationMethod;
    }
}